package com.smart.buss.service.impl;

import com.smart.buss.dao.BussTongjiQudaoMapper;
import com.smart.buss.service.BussTongjiQudaoService;
import com.smart.buss.vo.BussTongjiQudao;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BussTongjiQudaoServiceImpl implements BussTongjiQudaoService {

	@Resource
	private BussTongjiQudaoMapper bussTongjiQudaoMapper;

	@Override
	public BussTongjiQudao queryObject(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.queryObject(entity);
	}

	@Override
	public List<BussTongjiQudao> queryList(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.queryList(entity);
	}

	@Override
	public List<BussTongjiQudao> queryListByPage(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.queryListByPage(entity);
	}

	@Override
	public Integer queryCount(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.queryCount(entity);
	}

	@Override
	public Integer insert(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.insert(entity);
	}

	@Override
	public Integer update(BussTongjiQudao entity) throws Exception {
		return bussTongjiQudaoMapper.update(entity);
	}

	@Override
	public Integer delete(String id) throws Exception {
		return bussTongjiQudaoMapper.delete(id);
	}
}
